<script lang='ts' setup>
import type { InputProps } from 'element-plus'

withDefaults(defineProps<Omit<InputProps, 'modelValue'>>(), {
  disabled: false,
  placeholder: '请输入',
  size: 'default',
})

const value = defineModel<string>()
</script>

<template>
  <div class="w-full">
    <el-input v-model="value" :placeholder="placeholder" :disabled="disabled" :size="size" />
  </div>
</template>

<style lang='scss' module></style>
